package pattern.factory;

/**
 * 形状工厂实现类
 *
 * @author sun.ye
 * @since 2020-07-17 17:49
 */
public class SharpFactoryImpl implements ShapeFactory {
    @Override
    public Shape makeCircle() {
        return new Circle();
    }

    @Override
    public Shape makeSquare() {
        return new Square();
    }
}